﻿using DAL.Model;

namespace BL
{
    public class UnitOfMeasureController
    {
        private readonly MasterSession _session;

        public UnitOfMeasureController (MasterSession session)
        {
            _session = session;
        }

        public UnitOfMeasure Create ()
        {
            var unitOfMeasure = new UnitOfMeasure();
            _session.UnitOfMeasures.Add(unitOfMeasure);

            return unitOfMeasure;
        }
    }
}
